import {
    DIC
} from '@/const/dic'

// 待废
export const option = {
    index:true,
    indexLabel:'序号',
    border: true,
    selection: false,
    menuBtn: false,
    addBtn:false,
    cellBtn: false,
    editBtn: false,
    size: 'mini',
    columnBtn:false,
    refreshBtn:false,
    delBtn: false,
    dicData: DIC,
    align: "center",
    menuWidth: 210,
    menuAlign: "center",
    column: [{
        label: "审批单号",
        prop: "approvalNumber",
        width: "110",
        slot: true
    },{
        label: "维保类型",
        prop: "maintenanceType"
    },{
        label: "设备类别",
        prop: "equipmentTypeName",
    },{
        label: "设备编码",
        prop: "coded",
        width: "110",
        slot: true
    },{
        label: "设备名称",
        prop: "name",
        slot: true,
    },{
        label: "型号",
        prop: "marking",
        width: "110",
        slot: true
    },{
        label: "品牌",
        prop: "brand",
        width: "110",
        slot: true
    },{
        label: "存放位置",
        prop: "locationName",
        width: "110",
        slot: true
    }
    ]
};

// 已废
export const scrapOption = {
    index:true,
    indexLabel:'序号',
    border: true,
    selection: false,
    menuBtn: false,
    addBtn:false,
    cellBtn: false,
    editBtn: false,
    columnBtn:false,
    refreshBtn:false,
    size: 'mini',
    delBtn: false,
    dicData: DIC,
    align: "center",
    menuWidth: 240,
    menuAlign: "center",
    column: [{
        label: "审批单号",
        prop: "approvalNumber",
        width: "140",
        slot: true
    },{
        label: "维保类型",
        prop: "maintenanceType",
        width: "100"
    },{
        label: "设备类别",
        prop: "equipmentTypeName",
        width: "110"
    },{
        label: "设备编码",
        prop: "coded",
        width: "110",
        slot: true
    },{
        label: "型号",
        prop: "marking",
        width: "100",
        slot: true
    },{
        label: "品牌",
        prop: "brand",
        width: "110",
        slot: true
    },{
        label: "存放位置",
        prop: "locationName",
        width: "110",
        slot: true
    },{
        label: "维保结果",
        prop: "maintenanceResults",
        width: "100",
        slot: true
    },{
        label: "维保单位",
        prop: "unit",
        width: "100",
        slot: true
    },{
        label: "为保护费用(元)",
        prop: "maintenanceCharge",
        width: "110",
        slot: true
    },{
        label: "维保人/时间",
        prop: "personAndUpdateTime",
        slot: true
    },{
        label: "最后修改人/时间",
        prop: "lastUpdateName",
        slot: true
    }]
};